home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Professional Soft Collection 1.02
/
Professional Soft Collection 1.02.iso
/
nu_adm.100
/
install.inf
< prev
next >
Wrap
INI File
|
1994-04-18
|
19KB
|
626 lines
;**************************************************************************
;* Install Script for Norton Utilities Administrator *
;**************************************************************************
[process]
; switch69 is true for install, false for uninstall
switch69 = TRUE
; initially overwrite hammer files
switch11 = FALSE
switch20 = exists.DllExists
#if switch20
backup.nadmindll
#endif
Bitmaps.pix
nnucopy = SetActiveCopy
; bump up the usage on the custom dll
CallProc.LoadSymnet
switch01 = IsRegistered
#ifnot switch01
Registration
#endif
; switch91 = Automatic Installation
; switch92 = Custom Installation
; switch93 = Upgrade into Norton Administrator
SelectInstallType
; switch68 is true for upgrade
#if switch93
switch68 = TRUE
#endif
#if switch92
PrimarySelect
#endif
; if there was an old ini file, blast the data line
switch05 = Exists.NadminFileExists
#if switch05
DelFromIni.NadminIniFile
#endif
; switch54 - 56 Show Path 1..3 edit, text, button (no shrinkage of dlg)
; switch57 - 59 Enable Path 1..3 edit, text, button
; path1 must always exist for upgrade
switch54 = TRUE
switch55 = TRUE
switch56 = TRUE
switch57 = TRUE
switch58 = TRUE
switch59 = TRUE
; get directories for console/agents/databases
CallProc.NetTargetDrive
; set network files readwrite (to overwrite existing files)
CallProc.SetAllFilesToReadWrite
; copy nadmin.utl empty database file if no database exists
switch12 = Exists.NadminUtlFileExists
; copy files
copy
; let hammer initialize itself
; (now called in custom dll)
#ifnot switch68
Launch.LaunchHammer
#endif
; see if user wants to modify the system login script
; non netware environments will skip this
;
; switch70-79 are place holders for the agents
;
; switch15 = TRUE or FALSE depending upon OK or CANCEL
CallProc.FindLoginScript
; callproc here to backup and remove flags for login script
; assumes file is in szExtStr1 (in CallProc.NetTargetDrive)
#if switch15
; change TARGET2 to UNC
CallProc.BackupTarget2
CallProc.ChangeToUNC
CallProc.SetLoginScriptRW
ModifyTextFile.LoginScript
CallProc.SetLoginScriptRO
; restore TARGET2 from UNC
CallProc.RestoreTarget2
#endif
; reenable TSR if it's present
switch25 = CallProcEx.CheckTSR
#if switch25
CallProcEx.EnableTSR
#endif
; free custom dll
CallProc.FreeSymnet
;set network files readonly
CallProc.SetFilesToReadOnly
; setup windows groups (if not updating previous NAN installation)
#ifnot switch11
groups
#endif
; delete cust.dll
delete.FilesToDelete
switch20 = IsInstallShell
#if switch20
End.ByeShell
#else
End.ByeNoReboot
#endif
end
; SubProc to be executed before we take over as the shell
[SubProc]
Backup.nadmindll
switch20 = CallProcEx.CheckTSR
#if switch20
CallProcEx.DisableTSR
#endif
Return
;**************************************************************************
;* Disks *
;**************************************************************************
[InstallVersion]
3.2
[FilesToDelete]
siwcust.dll, WINDOWS
symkrnl0.dll, WINDOWS
symdb0.dll, WINDOWS
symnet0.dll, WINDOWS
symnw30.dll, WINDOWS
symbv40.dll, WINDOWS
symlm20.dll, WINDOWS
symls.dll, WINDOWS
nautil.dll, WINDOWS
symgui0.dll, WINDOWS
symutil0.dll, WINDOWS
ctl3d.dll, WINDOWS
[NadminIniFile]
IniName = %s\nadmin.ini, WINDOWS
SectionName = Data
DefDataDir = "*"
[LaunchHammer]
"%s\nadmin.exe /VIRGIN", TARGET
;**************************************************************************
;* Copy *
;**************************************************************************
[nnucopy]
copymain.basefiles, "Norton Utilities Administrator - 791K", 0, Y, N, Y ;;
copymain.console, "&Console Utilities - 1791K", 0, N, Y, Y ;;
copysub.helpconsole, "Help Data Files - 403K", 0 ;;
copymain.agent, "&Agents - 1613K", 0, N, Y, Y ;;
copysub.nddagent, "Disk Doctor Agent - 929K", 0 ;;
copysub.rescagent, "Rescue Disk Agent - 684K", 0 ;;
;**************************************************************************
;* Groups *
;**************************************************************************
[groups]
"Norton Utilities Administrator", nadmin.grp ;;
[Norton Utilities Administrator]
"Norton Administrator", nadmin.exe, Console,,TARGET
"Remove Norton Administrator", "install.exe /u", Console,,TARGET
[nnucopy:copydialog]
caption = "Copying Files"
posx = -10
posy = -10
[nnucopy:TypeSelect]
count = 3
caption = "Norton Utilities Administrator - Installation Type" ;;
text = "Please select the installation type you prefer."
grouptext = "Install Types"
button1 = "&Automatic Installation"
button2 = "&Custom Installation"
button3 = "&Upgrade"
descrip1 = "Installs the entire Norton Utilities Administrator package with all Tools and Utilities." ;;
descrip2 = "Lets you choose which modules to install now. If you need to add more options later, you can re-install."
descrip3 = "Installs Norton Utilities Administrator into an existing Norton Administrator for Networks installation." ;;
[nnucopy:Primary]
caption = "Norton Utilities Administrator - Application Selection" ;;
button1 = ""
button2 = "&Files..."
button3 = "F&iles..."
button4 = "Fi&les..."
text = primarytext
[primarytext]
"Use the 'Files...' button to deselect console, agent, or database files."
[nnucopy:Component]
caption = "Norton Utilities Administrator - Component Selection" ;;
text = "Please choose the components you wish to install. Highlighted items are selected."
Cancel = "Cancel"
[AdvoDefault]
posx = 20
posy = 80
text = AdvoText
[AdvoText]
"Be sure to fill out your registration"
"card. This will allow Symantec to contact"
"you about future product updates."
;**************************************************************************
;* Dialogs/Message box text *
;**************************************************************************
[ByeShell]
caption = "Installation Complete"
"This concludes the installation of"
"Norton Utilities Administrator." ;;
" "
"Please review the README.TXT file for any last"
"minute additions and/or corrections to the documentation."
" "
"Select one of the exit options."
" "
[ByeNoReboot]
caption = "Installation Complete"
"This concludes the installation of "
"Norton Utilities Administrator." ;;
" "
"Please review the README.TXT file for any last"
"minute additions and/or corrections to the documentation."
" "
"Select one of the exit options."
" "
[TargetBrowse]
caption = "Browse Directories"
DefaultDir = C:\
[errors]
noprev = "Symantec Install for Windows is already running!"
[FileCopy]
copycaption = "Installing Norton Utilities Administrator" ;;
errorcaption = "Error Copying Files"
insertcaption = "Insert Diskette"
[cancel]
caption = "Norton Utilities Administrator" ;;
text = "Are you sure you want to exit?"
[cancelshell]
caption = "Norton Utilities Administrator" ;;
text = "When you Cancel Install, Windows will exit to the DOS prompt so that the Windows environment can be reset. Are you sure you want to exit?"
;**************************************************************************
;* Misc install information *
;**************************************************************************
[nadmindll]
siwcust.dll, siwcust.dll, SOURCE, WINDOWS
symkrnl0.dll, symkrnl0.dll, SOURCE, WINDOWS
symdb0.dll, symdb0.dll, SOURCE, WINDOWS
symnet0.dll, symnet0.dll, SOURCE, WINDOWS
symnw30.dll, symnw30.dll, SOURCE, WINDOWS
symbv40.dll, symbv40.dll, SOURCE, WINDOWS
symlm20.dll, symlm20.dll, SOURCE, WINDOWS
symutil0.dll, symutil0.dll, SOURCE, WINDOWS
symls.dll, symls.dll, SOURCE, WINDOWS
nautil.dll, nautil.dll, SOURCE, WINDOWS
symgui0.dll, symgui0.dll, SOURCE, WINDOWS
ctl3d.dll, ctl3d.dll, SOURCE, WINDOWS
[pix]
color = %s\hammer.bmp
; custom dll functions
[NetTargetDrive]
dll = siwcust.dll
function = NetTargetCustomize
[NetWriteInstallData]
dll = siwcust.dll
function = NetWriteInstallData
[VerifyAnyOverwrite]
dll = siwcust.dll
function = VerifyAnyOverwrite
[RemoveTTSFlags]
dll = siwcust.dll
function = RemoveTTSFlags
[SetLoginScriptRW]
dll = siwcust.dll
function = SetLoginScriptRW
[SetLoginScriptRO]
dll = siwcust.dll
function = SetLoginScriptRO
[RemoveOldLoginScriptInfo]
dll = siwcust.dll
function = RemoveOldLoginScriptInfo
[FindLoginScript]
dll = siwcust.dll
function = FindLoginScript
[ChangeToUNC]
dll = siwcust.dll
function = ChangeToUNC
[BackupTarget2]
dll = siwcust.dll
function = BackupTarget2
[RestoreTarget2]
dll = siwcust.dll
function = RestoreTarget2
[naLicenseCreator]
dll = siwcust.dll
function = naLicenseCreator
[InitHammer]
dll = siwcust.dll
function = InitHammer
[StartInitializing]
dll = siwcust.dll
function = StartInitializing
[EndInitializing]
dll = siwcust.dll
function = EndInitializing
[LoadSymnet]
dll = siwcust.dll
function = LoadSymnet
[FreeSymnet]
dll = siwcust.dll
function = FreeSymnet
[ExitHookProc]
dll = siwcust.dll
function = ExitHookProc
[NadminFileExists]
nadmin.ini, WINDOWS
[NadminUtlFileExists]
nadmin.utl, TARGET3
[DllsExist]
siwcust.dll, WINDOWS
symkrnl0.dll, WINDOWS
symdb0.dll, WINDOWS
symnet0.dll, WINDOWS
symnw30.dll, WINDOWS
symbv40.dll, WINDOWS
symlm20.dll, WINDOWS
symutil0.dll, WINDOWS
symls.dll, WINDOWS
nautil.dll, WINDOWS
symgui0.dll, WINDOWS
[CheckTSR]
dll = siwcust.dll
function = IsTSRPresent
[DisableTSR]
dll = siwcust.dll
function = DisableDosTSR
[EnableTSR]
dll = siwcust.dll
function = EnableDosTSR
[SetFilesToReadOnly]
dll = siwcust.dll
function = SetFilesToReadOnly
[SetAllFilesToReadWrite]
dll = siwcust.dll
function = SetAllFilesToReadWrite
;**************************************************************************
;* User Registration *
;**************************************************************************
[Registration]
caption = "Norton Utilities Administrator -- Registration" ;;
text1 = regtext
text2 = "&Name:"
text3 = "&Company:"
Cancel = "Cancel"
Help = "&Help"
appname = nconapi.dll
appname2 = smedit.exe
string = "Symantec Install for Windows"
active = no
serialize = 0
dll = siwcust.dll
function = ElValidateoDaLaSerial
[regtext]
"Welcome to Norton Utilities Administrator" ;;
" "
"Please register your name and company before continuing:"
;**************************************************************************
;* Login Script modifications *
;**************************************************************************
[LoginScript]
caption = "Modify Login Script File"
text1 = "The following line(s) need to be added to your Login Script file:"
FileSpec =
FileType = text
Rem1 = "Rem"
Rem2 = "Remark"
Rem3 = "*"
Rem4 = ";"
FindRems = 1
RemItems = LoginRemItems
DelItems = LoginDelItems
AddItems = LoginAddItems
[LoginRemItems]
[LoginDelItems]
*NORTON_UTILITIES_ADMINISTRATOR*
*narescue.exe*, switch70
*rescueb.exe*, switch70
*nddnet.exe*, switch71
*nddnetb.exe*, switch71
[LoginAddItems]
"Rem Norton_Utilities_Administrator" , APPEND ;;
"#|s\nddnet.exe", TARGET2 , switch71, APPEND ;;
"#|s\narescue.exe", TARGET2 , switch70, APPEND ;;
; agents to install, 0=unchecked, 1=checked
[AgentsList]
narescue.exe, 1 ;;
nddnet.exe, 1 ;;
;**************************************************************************
;* Set Shell section *
;**************************************************************************
[SetShell]
AppIniName = hammer.ini
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\install.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active = yes
IfActiveList=LoadedList
SubProcess=SubProc
[SetShellSave]
win.ini, win.$nn, WINDOWS
system.ini, system.$nn, WINDOWS
[SetShellRestore]
system.$nn, system.ini, WINDOWS
win.$nn, win.ini, WINDOWS
; install will take over as the shell if any of the followin are loaded
[LoadedList]
ctl3d
nadist
nadistw
nainv
nameter
nameterw
nanode
nanodew
symkrnl0
symdb0
symutil0
symgui0
symls
nautil
[SetShellMessage]
caption = "Norton Utilities Administrator -- Install" ;;
"Welcome to Norton Utilities Administrator program" ;;
" "
"Please press OK to allow Install"
"to restart Windows and continue"
"the installation. Press Cancel to exit."
[WindowsVersion]
3.10
"Norton Utilities Administrator requires" ;;
"Microsoft Windows version 3.1 or later."
[TargetDialogUpgrade]
Dir1 = "&Main Program/Console Directory:"
Dir2 = "&Agent Directory:"
Dir3 = "&Data Directory:"
Text1 = TargetDialogTextUpgrade
; max length = 1k
[TargetDialogTextUpgrade]
"You have selected to upgrade"
" "
"Please select the directories that contain an existing installation of"
"Norton Administrator for Networks"
" "
"Once all directories have been selected, press OK to continue."
" "
[TargetDialog]
Dir1 = "&Main Program/Console Directory:" ;;
Dir2 = "&Agent Directory:" ;;
Dir3 = "&Data Directory:" ;;
Text1 = TargetDialogText
; max length = 1k
[TargetDialogText]
"Please select the directories that are to contain Norton Utilities Administrator" ;;
"Once all directories have been selected, press OK to continue."
" "
"The following security issues should be kept in mind:"
" -- The SUPERVISOR needs READ/WRITE access to the Console directory." ;;
" -- USERS need READ access to the Agents directory." ;;
" -- USERS need READ/WRITE access to the Data directory." ;;
; 1.44M Installation
;size=1.44M
;total=2
[Disks]
1=A:\, "Norton Utilities Administrator, Program Disk #1"
2=A:\, "Norton Utilities Administrator, Program Disk #2"
[NNUCOPY.disk1]
NDDNET.EXE, "Norton Disk Doctor", Link:NDDAGENT, TARGET2 , SIZE:453110
NDDNETB.EXE, "Norton Disk Doctor (non-swapping)", Link:NDDAGENT, TARGET2 , SIZE:446454
NARESCUE.EXE, "Norton Rescue", Link:RESCAGENT, TARGET2 , SIZE:344112
INSTBIN.EXE, "Symantec Installer", Link:BASEFILES, TARGET , SWITCH11 , SIZE:249712
SYMGUI0.DLL, "Norton Graphical User Interface", Link:CONSOLE, TARGET , SIZE:185312
NCONAPI.DLL, "Norton Console DLL", Link:BASEFILES, TARGET , SWITCH11 , SIZE:201136
SYMKRNL0.DLL, "Symantec Kernel DLL", Link:CONSOLE, TARGET , SIZE:121424
NUA.HLP, "Norton Utilities Administrator Help", Link:HELPCONSOLE, TARGET , SIZE:96930
SYMDB0.DLL, "Database Engine", Link:CONSOLE, TARGET , SWITCH11 , SIZE:120656
SIWDLL.DLL, "Symantec Install DLL", Link:BASEFILES, TARGET , SWITCH11 , SIZE:82464
SIWCUST.DLL, "Symantec Install DLL", Link:BASEFILES, TARGET , SWITCH11 , SIZE:74016
SYMUTIL0.DLL, "Norton Misc Utilities", Link:CONSOLE, TARGET , SIZE:73824
INSTALL.EXE, "Symantec Installer", Link:BASEFILES, TARGET , SWITCH11 , SIZE:37136
SYMINSTL.HLP, "Symantec Install DLL", Link:BASEFILES, TARGET , SWITCH11 , SIZE:26273
NAUTIL.DLL, "Norton Admin Utility Library", Link:CONSOLE, TARGET , SWITCH11 , SIZE:46720
SYMNET0.DLL, "Norton Network DLL", Link:CONSOLE, TARGET , SWITCH11 , SIZE:49760
INSTALL.INF, "Symantec Install Script", Link:BASEFILES, TARGET , SWITCH11 , SIZE:21270
NPACK22.EXE, "Compression Engine", Link:CONSOLE, TARGET , SWITCH11 , SIZE:19902
SYMLS.DLL, "Licensing Server API", Link:CONSOLE, TARGET , SWITCH11 , SIZE:45232
SIWZIP.DLL, "Symantec Install DLL", Link:BASEFILES, TARGET , SWITCH11 , SIZE:29278
SIW3ZIP.DLL, "Symantec Install DLL", Link:BASEFILES, TARGET , SWITCH11 , SIZE:28254
README.TXT, "Readme File", Link:CONSOLE, TARGET , SWITCH11 , SIZE:10594
CTL3D.DLL, "3D Control Effects", Link:BASEFILES, SYSTEM , VersionCheck, SIZE:15856
SYMNW30.DLL, "Norton NetWare Network DLL", Link:CONSOLE, TARGET , SWITCH11 , SIZE:19632
LZEXPAND.DLL, "Windows 3.1 Shareable DLL", Link:BASEFILES, TARGET , SWITCH11 , VersionCheck, SIZE:9936
SYMBV40.DLL, "Norton Vines Network DLL", Link:CONSOLE, TARGET , SWITCH11 , SIZE:11664
SYMLM20.DLL, "Norton LanManager Network DLL", Link:CONSOLE, TARGET , SWITCH11 , SIZE:11216
UNINSTAL.INF, "Symantec Install Script", Link:BASEFILES, TARGET , SWITCH11 , SIZE:15214
[NNUCOPY.disk2]
RESCUEB.EXE, "Norton Rescue (non-swapping)", Link:RESCAGENT, TARGET2 , SIZE:337456
NADMIN.HLP, "Help File", Link:HELPCONSOLE, TARGET , SWITCH11 , SIZE:294777
SYMCHRT0.DLL, "Charting Engine", Link:CONSOLE, TARGET , SWITCH11 , SIZE:268944
UTIL.NNL, "Console Add-in", Link:CONSOLE, TARGET , SIZE:103104
NWNETAPI.DLL, "NetWare DLL", Link:CONSOLE, TARGET , SWITCH11 , SIZE:106047
SYMFAT0.DLL, "Symantec Disk DLL", Link:CONSOLE, TARGET , SIZE:56128
SYMSYS0.DLL, "Symantec System File DLL", Link:CONSOLE, TARGET , SIZE:45136
NLPR.DLL, "Printing Engine", Link:CONSOLE, TARGET , SWITCH11 , SIZE:28432
EXPORT.DLL, "Database Conversion DLL", Link:CONSOLE, TARGET , SWITCH11 , SIZE:27024
SYMFMT0.DLL, "Symantec Disk Format DLL", Link:CONSOLE, TARGET , SIZE:19552
NDDNET.MSG, "Norton Disk Doctor Data File", Link:NDDAGENT, TARGET2 , SIZE:31866
WHELP0.DLL, "Help Tools", Link:HELPCONSOLE, TARGET , SIZE:12368
DBDATA.DLL, "Database Caching Engine", Link:CONSOLE, TARGET , SWITCH11 , SIZE:10544
NADMIN.EXE, "Norton Administrator Console", Link:CONSOLE, TARGET , SWITCH11 , SIZE:7136
RESCUE.INI, "Norton Rescue Data File", Link:RESCAGENT, TARGET3 , SIZE:7171
NADMIN.UTL, "Utilities Database File", Link:DATA, TARGET3 , SWITCH12 , SIZE:4096